Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / CellMatrix<T> Class / EnumerateNonEmptyItems Method
An integer value indicates the first row.
An integer value indicates the first column.
An integer value indicates the last row.
An integer value indicates the last column.


In This Topic
    EnumerateNonEmptyItems Method
    In This Topic
    Loops through all non-empty items in the CellMatrix<T>.
    Syntax
    'Declaration
     
    
    Public Function EnumerateNonEmptyItems( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal row2 As Integer, _
       ByVal column2 As Integer _
    ) As IEnumerable(Of KeyValuePair(Of CellReference,T))
    'Usage
     
    
    Dim instance As CellMatrix(Of T)
    Dim row As Integer
    Dim column As Integer
    Dim row2 As Integer
    Dim column2 As Integer
    Dim value As IEnumerable(Of KeyValuePair(Of CellReference,T))
     
    value = instance.EnumerateNonEmptyItems(row, column, row2, column2)

    Parameters

    row
    An integer value indicates the first row.
    column
    An integer value indicates the first column.
    row2
    An integer value indicates the last row.
    column2
    An integer value indicates the last column.
    See Also